package com.tianji.learning.domain.po;



import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
<<<<<<< HEAD
 * @author ymm
=======
 * @author lang

 * @author author

 * @since 2023-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_note")
@ApiModel(value="UserNote对象", description="")
public class UserNote implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "课程id")
    private Long courseId;

    @ApiModelProperty(value = "课程章id")
    private Long chapterId;

    @ApiModelProperty(value = "节id")
    private Long sectionId;

    @ApiModelProperty(value = "用户id")
    private Long authorId;

    @ApiModelProperty(value = "笔记内容")
    private String content;

    @ApiModelProperty(value = "笔记状态 - false.公开，true.私人；默认false")
    private Boolean status;

    @ApiModelProperty(value = "是否被隐藏 - true.显示，false.隐藏；默认true")
    private Boolean isPrivate;

    @ApiModelProperty(value = "是否是采集的笔记 - true.是；false.是；默认false")
    private Boolean isGathered;

    @ApiModelProperty(value = "被引用次数；默认0")
    private Integer quoteCount;

    @ApiModelProperty(value = "点赞数量；默认0")
    private Integer likedTimes;

    @ApiModelProperty(value = "笔记在视频中的时间点")
    private Integer noteMoment;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最近一次修改时间")
    private LocalDateTime updateTime;


}
